package survey.service.impl;

import java.util.List;

import javax.annotation.Resource;

import survey.dao.QuestionDao;
import survey.entity.Question;
import survey.service.QuestionService;

public class QuestionServiceImpl implements QuestionService {
	@Resource
	private QuestionDao questionDao;

	public QuestionDao getQuestionDao() {
		return questionDao;
	}

	public void setQuestionDao(QuestionDao questionDao) {
		this.questionDao = questionDao;
	}

	public List<Question> queryQuestionByQnId(int qnId) {
		return questionDao.queryQuestionByQnId(qnId);
	}

}
